package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.pojo.Noise;
import org.example.pojo.NoiseCategory;

import java.util.List;

@Mapper
public interface NoiseMapper {
    List<Noise> selectAll();
    List<Noise> selectByCategoryId(Integer categoryId);
    List<NoiseCategory> selectAllCategories();
} 